package com.duo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.duo.dto.GoodsSalesDTO;
import com.duo.entity.Orders;
import org.springframework.stereotype.Repository;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @Author: Xrx
 * @Description:
 * @CreateTime: 2023/7/8 20:24
 */
@Repository
public interface OrderMapper extends BaseMapper<Orders> {

    List<GoodsSalesDTO> getSalesTop10(LocalDateTime begin, LocalDateTime end);


}
